package com.lutzyt.delivery.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 骑手账户流水
 */
@Data
@TableName("horseman_account_flow")
public class HorsemanAccountFlow {
  /**
   *
   */
  @TableId(value = "id", type = IdType.AUTO)
  private Integer id;
  /**
   * 动作:提现,完成订单,奖金
   */
  @TableField("action")
  private String action;
  /**
   * 金额
   */
  @TableField("amount")
  private BigDecimal amount;
  /**
   * 骑手id
   */
  @TableField("horseman_id")
  private Integer horsemanId;
  /**
   * 创建时间
   */
  @TableField("create_time")
  private Date createTime;
  /**
   * 逻辑删除
   */
  @TableField("deleted")
  private Integer deleted;
  /**
   * 版本
   */
  @TableField("fversion")
  private Integer fversion;
  /**
   * 备注
   */
  @TableField("remark")
  private String remark;
}